@include('admin.header')
<title>用户查看</title>
</head>
<body>
<div class="cl pd-20" style=" background-color:#5bacb6">
	<dl style="margin-left:80px; color:#fff">
		<dt>
			<span class="f-18">用户名:{{$orders1->username}}</span>
		</dt>
		<dd class="pt-10 f-12" style="margin-left:0">订单状态:
		<?php
			if($orders1->status){
				echo "已结算";
			}else{
				echo "未结算";
			}
		?>
		</dd>
	</dl>
</div>
<div class="pd-20">
	<table class="table">
	@foreach($orders2 as $val)
		<tbody>
	
			<tr>
				<th class="text-r" width="80">商品名称:</th>
				<td>{{$val->goods_name}}</td>
				<th class="text-r">数量：</th>
				<td>X {{$val->num}}(本)</td>
			</tr>
			<tr>
				<th class="text-r">单价：</th>
				<td>{{$val->goods_price}}(元)</td>
					<th class="text-r">总价：</th>
				<td>
			<?php

				echo $val->goods_price*$val->num;
				?>(元)
				</td>
			</tr>
	

		</tbody>
			@endforeach
	</table>
</div>
@include('admin.footer')

<!--请在下方写此页面业务相关的脚本-->
</body>
</html>